package com.dwin.dingnuo.http.response;


import java.io.Serializable;

/**
 * 设备类
 */
public class HomeDevice implements Serializable {
    public int id;
    public String device_name;
    public int merchant_id;
    public int product_id;
    public int product_model_id;
    public String version;
    public String device_num;
    public String full_device_num;

    public String category_name;
    public String product_model;
    public String user_topic;
    public String product_name;
    public String cpu;

    public int device_alive_or_dead; // 设备的在线状态（0离线，1在线）
    public String device_alive_last_time;
    public String device_dead_last_time;
    public int force_bind;
    public String device_product_name;
    public DevicesMembersInfo devices_members_info;

    @Override
    public String toString() {
        return "HomeDevice{" +
                "id=" + id +
                ", device_name='" + device_name + '\'' +
                ", merchant_id=" + merchant_id +
                ", product_id=" + product_id +
                ", product_model_id=" + product_model_id +
                ", version='" + version + '\'' +
                ", device_num='" + device_num + '\'' +
                ", full_device_num='" + full_device_num + '\'' +
                ", category_name='" + category_name + '\'' +
                ", product_model='" + product_model + '\'' +
                ", user_topic='" + user_topic + '\'' +
                ", product_name='" + product_name + '\'' +
                ", cpu='" + cpu + '\'' +
                ", device_alive_or_dead=" + device_alive_or_dead +
                ", device_alive_last_time='" + device_alive_last_time + '\'' +
                ", device_dead_last_time='" + device_dead_last_time + '\'' +
                ", force_bind=" + force_bind +
                ", device_product_name='" + device_product_name + '\'' +
                ", devices_members_info=" + devices_members_info +
                '}';
    }

}
